delete

public static EditorCommand delete()

Returns a command that allows deleting the selected text in a text field, text area or WYSIWYG editor.